<div [ngClass]="pageURL ? 'modal' : ''">
  <div [ngClass]="pageURL ? 'modal-dialog' : ''">
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title float-start">
          <ng-content select=".modal-title"></ng-content>
        </h4>
        <button type="button"
                class="btn-close float-end"
                aria-label="Close"
                (click)="close()">
        </button>
      </div>

      <ng-content select=".modal-content"></ng-content>
    </div>
  </div>
</div>
